Built-in HTTP Server

Built-in HTTP Server

Start the Server

navigate to your project’s document root directory.

local machine access

1
php -S localhost:4000

other machine access

1
php -S 0.0.0.0:4000

Configure the Server

1
php -S localhost:8000 -c app/config/php.ini

keep the php.ini in project’s directory,
it will make you easy to share wiht other developers.